<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>stm32f4_blink_led: SPI_TypeDef Struct Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">stm32f4_blink_led
   &#160;<span id="projectnumber">1.2.2-120323</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">SPI_TypeDef Struct Reference<div class="ingroups"><a class="el" href="group___peripheral__registers__structures.html">Peripheral_registers_structures</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="SPI_TypeDef" -->
<p>Serial Peripheral Interface.  
</p>

<p><code>#include &lt;<a class="el" href="stm32f4xx_8h_source.html">stm32f4xx.h</a>&gt;</code></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">__IO uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a61400ce239355b62aa25c95fcc18a5e1">CR1</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a149feba01f9c4a49570c6d88619f504f">RESERVED0</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">__IO uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a2a3e81bd118d1bc52d24a0b0772e6a0c">CR2</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a8249a3955aace28d92109b391311eb30">RESERVED1</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">__IO uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a44962ea5442d203bf4954035d1bfeb9d">SR</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a5573848497a716a9947fd87487709feb">RESERVED2</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">__IO uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a0a1acc0425516ff7969709d118b96a3b">DR</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a6c3b31022e6f59b800e9f5cc2a89d54c">RESERVED3</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">__IO uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a942ae09a7662bad70ef336f2bed43a19">CRCPR</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#aa0223808025f5bf9c056185038c9d545">RESERVED4</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">__IO uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a7ad53aa3735ccdd785e3eec02faf5eb9">RXCRCR</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#abd36010ac282682d1f3c641b183b1b6f">RESERVED5</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">__IO uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a0238d40f977d03709c97033b8379f98f">TXCRCR</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#aab502dde158ab7da8e7823d1f8a06edb">RESERVED6</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">__IO uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#acb40abca5ca4cd2b2855adf2186effe8">I2SCFGR</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#ab1820c97e368d349f5f4121f015d9fab">RESERVED7</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">__IO uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#a02ce1ece243cc4ce1d66ebeca247fee1">I2SPR</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_s_p_i___type_def.html#afc22764fbf9ee7ce28174d65d0260f18">RESERVED8</a></td></tr>
</table>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a61400ce239355b62aa25c95fcc18a5e1"></a><!-- doxytag: member="SPI_TypeDef::CR1" ref="a61400ce239355b62aa25c95fcc18a5e1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__IO uint16_t <a class="el" href="struct_s_p_i___type_def.html#a61400ce239355b62aa25c95fcc18a5e1">CR1</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>SPI control register 1 (not used in I2S mode), Address offset: 0x00 </p>

</div>
</div>
<a class="anchor" id="a2a3e81bd118d1bc52d24a0b0772e6a0c"></a><!-- doxytag: member="SPI_TypeDef::CR2" ref="a2a3e81bd118d1bc52d24a0b0772e6a0c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__IO uint16_t <a class="el" href="struct_s_p_i___type_def.html#a2a3e81bd118d1bc52d24a0b0772e6a0c">CR2</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>SPI control register 2, Address offset: 0x04 </p>

</div>
</div>
<a class="anchor" id="a942ae09a7662bad70ef336f2bed43a19"></a><!-- doxytag: member="SPI_TypeDef::CRCPR" ref="a942ae09a7662bad70ef336f2bed43a19" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__IO uint16_t <a class="el" href="struct_s_p_i___type_def.html#a942ae09a7662bad70ef336f2bed43a19">CRCPR</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>SPI CRC polynomial register (not used in I2S mode), Address offset: 0x10 </p>

</div>
</div>
<a class="anchor" id="a0a1acc0425516ff7969709d118b96a3b"></a><!-- doxytag: member="SPI_TypeDef::DR" ref="a0a1acc0425516ff7969709d118b96a3b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__IO uint16_t <a class="el" href="struct_s_p_i___type_def.html#a0a1acc0425516ff7969709d118b96a3b">DR</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>SPI data register, Address offset: 0x0C </p>

</div>
</div>
<a class="anchor" id="acb40abca5ca4cd2b2855adf2186effe8"></a><!-- doxytag: member="SPI_TypeDef::I2SCFGR" ref="acb40abca5ca4cd2b2855adf2186effe8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__IO uint16_t <a class="el" href="struct_s_p_i___type_def.html#acb40abca5ca4cd2b2855adf2186effe8">I2SCFGR</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>SPI_I2S configuration register, Address offset: 0x1C </p>

</div>
</div>
<a class="anchor" id="a02ce1ece243cc4ce1d66ebeca247fee1"></a><!-- doxytag: member="SPI_TypeDef::I2SPR" ref="a02ce1ece243cc4ce1d66ebeca247fee1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__IO uint16_t <a class="el" href="struct_s_p_i___type_def.html#a02ce1ece243cc4ce1d66ebeca247fee1">I2SPR</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>SPI_I2S prescaler register, Address offset: 0x20 </p>

</div>
</div>
<a class="anchor" id="a149feba01f9c4a49570c6d88619f504f"></a><!-- doxytag: member="SPI_TypeDef::RESERVED0" ref="a149feba01f9c4a49570c6d88619f504f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="struct_s_p_i___type_def.html#a149feba01f9c4a49570c6d88619f504f">RESERVED0</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reserved, 0x02 </p>

</div>
</div>
<a class="anchor" id="a8249a3955aace28d92109b391311eb30"></a><!-- doxytag: member="SPI_TypeDef::RESERVED1" ref="a8249a3955aace28d92109b391311eb30" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="struct_s_p_i___type_def.html#a8249a3955aace28d92109b391311eb30">RESERVED1</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reserved, 0x06 </p>

</div>
</div>
<a class="anchor" id="a5573848497a716a9947fd87487709feb"></a><!-- doxytag: member="SPI_TypeDef::RESERVED2" ref="a5573848497a716a9947fd87487709feb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="struct_s_p_i___type_def.html#a5573848497a716a9947fd87487709feb">RESERVED2</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reserved, 0x0A </p>

</div>
</div>
<a class="anchor" id="a6c3b31022e6f59b800e9f5cc2a89d54c"></a><!-- doxytag: member="SPI_TypeDef::RESERVED3" ref="a6c3b31022e6f59b800e9f5cc2a89d54c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="struct_s_p_i___type_def.html#a6c3b31022e6f59b800e9f5cc2a89d54c">RESERVED3</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reserved, 0x0E </p>

</div>
</div>
<a class="anchor" id="aa0223808025f5bf9c056185038c9d545"></a><!-- doxytag: member="SPI_TypeDef::RESERVED4" ref="aa0223808025f5bf9c056185038c9d545" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="struct_s_p_i___type_def.html#aa0223808025f5bf9c056185038c9d545">RESERVED4</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reserved, 0x12 </p>

</div>
</div>
<a class="anchor" id="abd36010ac282682d1f3c641b183b1b6f"></a><!-- doxytag: member="SPI_TypeDef::RESERVED5" ref="abd36010ac282682d1f3c641b183b1b6f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="struct_s_p_i___type_def.html#abd36010ac282682d1f3c641b183b1b6f">RESERVED5</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reserved, 0x16 </p>

</div>
</div>
<a class="anchor" id="aab502dde158ab7da8e7823d1f8a06edb"></a><!-- doxytag: member="SPI_TypeDef::RESERVED6" ref="aab502dde158ab7da8e7823d1f8a06edb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="struct_s_p_i___type_def.html#aab502dde158ab7da8e7823d1f8a06edb">RESERVED6</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reserved, 0x1A </p>

</div>
</div>
<a class="anchor" id="ab1820c97e368d349f5f4121f015d9fab"></a><!-- doxytag: member="SPI_TypeDef::RESERVED7" ref="ab1820c97e368d349f5f4121f015d9fab" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="struct_s_p_i___type_def.html#ab1820c97e368d349f5f4121f015d9fab">RESERVED7</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reserved, 0x1E </p>

</div>
</div>
<a class="anchor" id="afc22764fbf9ee7ce28174d65d0260f18"></a><!-- doxytag: member="SPI_TypeDef::RESERVED8" ref="afc22764fbf9ee7ce28174d65d0260f18" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t <a class="el" href="struct_s_p_i___type_def.html#afc22764fbf9ee7ce28174d65d0260f18">RESERVED8</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Reserved, 0x22 </p>

</div>
</div>
<a class="anchor" id="a7ad53aa3735ccdd785e3eec02faf5eb9"></a><!-- doxytag: member="SPI_TypeDef::RXCRCR" ref="a7ad53aa3735ccdd785e3eec02faf5eb9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__IO uint16_t <a class="el" href="struct_s_p_i___type_def.html#a7ad53aa3735ccdd785e3eec02faf5eb9">RXCRCR</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>SPI RX CRC register (not used in I2S mode), Address offset: 0x14 </p>

</div>
</div>
<a class="anchor" id="a44962ea5442d203bf4954035d1bfeb9d"></a><!-- doxytag: member="SPI_TypeDef::SR" ref="a44962ea5442d203bf4954035d1bfeb9d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__IO uint16_t <a class="el" href="struct_s_p_i___type_def.html#a44962ea5442d203bf4954035d1bfeb9d">SR</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>SPI status register, Address offset: 0x08 </p>

</div>
</div>
<a class="anchor" id="a0238d40f977d03709c97033b8379f98f"></a><!-- doxytag: member="SPI_TypeDef::TXCRCR" ref="a0238d40f977d03709c97033b8379f98f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__IO uint16_t <a class="el" href="struct_s_p_i___type_def.html#a0238d40f977d03709c97033b8379f98f">TXCRCR</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>SPI TX CRC register (not used in I2S mode), Address offset: 0x18 </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>D:/123/stm32f4_blink_led-1.2.2-120323/inc/<a class="el" href="stm32f4xx_8h_source.html">stm32f4xx.h</a></li>
</ul>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 23 2012 00:11:24 for stm32f4_blink_led by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
